import request from '@/utils/request'

export function getTableData(data) {
    return request({
        url: '/admin/user/page',
        method: 'get',
        headers: {
            "authorization": localStorage.getItem("token")
        },
        params: data
    })
}
export function dialogTrue(data) {
    return request({
        url: '/admin/user',
        method: 'put',
        headers: {
            "authorization": localStorage.getItem("token")
        },
        data
    })
}



